/*
			       ___ _      _   ___ _  _    ___  _  _ 
			      | __| |    /_\ / __| || |  / _ \| \| |
			      | _|| |__ / _ \\__ \ __ | | (_) | .` |
			      |_| |____/_/ \_\___/_||_|  \___/|_|\_|
			                                            
			  _____ _  _   _ _____   ___ ___ _____ ___ _  _ 
			 |_   _| || | /_\_   _| | _ )_ _|_   _/ __| || |
			   | | | __ |/ _ \| |   | _ \| |  | || (__| __ |
			   |_| |_||_/_/ \_\_|   |___/___| |_| \___|_||_|
			        F L A S H  O N  T H A T  B I T C H
			        
		+--------------------------------------------------------+
		|	This file is delivered as is. Any modifications to   |
		|   this class and/or sub classes may cause errors and   |
		|   can cause you compilations to fail. FOTB takes no	 |
		|   responsibility for any complications caused by the	 |
		|   following code or any modified versions of it.		 |
		+--------------------------------------------------------+

*/
package com.flashonthatbitch.filesystem {
	
	public class FileReadMode {
		
		/**	*/
		public static const READ_UTF		:String		=	"readUTFBytes";
		/**	*/
		public static const READ_BOOL		:String		=	"readBoolean";
		/**	*/
		public static const READ_BYTE		:String		=	"readByte";
		/**	*/
		public static const READ_BYTES		:String		=	"readBytes";
		/**	*/
		public static const READ_DOUBLE		:String		=	"readDouble";
		/**	*/
		public static const READ_FLOAT		:String		=	"readFloat";
		/**	*/
		public static const READ_INT		:String		=	"readInt";
		/**	*/
		public static const READ_OBJECT		:String		=	"readObject";
		/**	*/
		public static const READ_SHORT		:String		=	"readShort";
		/**	*/
		public static const READ_UINT		:String		=	"readUnsignedInt";
		/**	*/
		public static const READ_UBYTE		:String		=	"readUnsignedByte";
		/**	*/
		public static const READ_USHORT		:String		=	"readUnsignedShort";

/*
		  ___ ___  _  _ ___ _____ ___ _   _  ___ _____ ___  ___ 
		 / __/ _ \| \| / __|_   _| _ \ | | |/ __|_   _/ _ \| _ \
		| (_| (_) | .` \__ \ | | |   / |_| | (__  | || (_) |   /
		 \___\___/|_|\_|___/ |_| |_|_\\___/ \___| |_| \___/|_|_\
		C O N S T R U C T O R
*/
		
		public function FileReadMode() {
			
			throw getError("FileReadMode is a static class and cannot be instanciated.");
			
		}

/*
		  ___ ___ _____   ___ ___ _____ 
		 / __| __|_   _| / __| __|_   _|
		| (_ | _|  | |   \__ \ _|  | |  
		 \___|___| |_|   |___/___| |_|  
		G E T  S E T
*/		
		/**
		 * [internal-use]
		 * Returns a pre-defined error with the specified message.
		 *  
		 * @param message		Message
		 * @return 				SilkIconsError object
		 * 
		 */
		private static function getError(message:String):Error {
			var err:Error = new Error(message);
			err.name = "FileReadModeError";
			return err;
		}
		
	}
	
}